Package-level declarations

The nodes form the node-graph described in the YAML Specification.

Types

Link copied to clipboard
class AnchorNode(val realNode: Node) : Node

This class is only used during representation (dumping)

Link copied to clipboard
sealed class CollectionNode<T> : Node

Base class for the two collection types mapping and collection.

Link copied to clipboard
class MappingNode @JvmOverloads constructor(tag: Tag, val value: List<NodeTuple>, flowStyle: FlowStyle, resolved: Boolean = true, startMark: Mark? = null, endMark: Mark? = null) : CollectionNode<NodeTuple>

Represents a map.

Link copied to clipboard
sealed class Node

Base class for all nodes.

Link copied to clipboard
class NodeTuple(val keyNode: Node, val valueNode: Node)

Stores one key value pair used in a map.

Link copied to clipboard

Enum for the basic YAML types: scalar, sequence and mapping.

Link copied to clipboard
class ScalarNode @JvmOverloads constructor(var tag: Tag, val value: String, val scalarStyle: ScalarStyle, resolved: Boolean = true, val startMark: Mark? = null, var endMark: Mark? = null) : Node

Represents a scalar node.

Link copied to clipboard
class SequenceNode @JvmOverloads constructor(tag: Tag, val value: List<Node>, flowStyle: FlowStyle, resolved: Boolean = true, startMark: Mark? = null, endMark: Mark? = null) : CollectionNode<Node>

Represents a sequence.

Link copied to clipboard
class Tag(tag: String)